package com.kate.mall.order;

import com.kate.mall.swagger.annotation.EnableSwagger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ServletComponentScan(basePackages = {"com.kate.mall.common"})
@ComponentScan({"com.kate.mall.order","com.kate.mall.common"})
@EnableSwagger
@EnableFeignClients(basePackages = "com.kate.mall.order.feign")
public class OrderCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderCenterApplication.class, args);
    }

}
